package com.xx.java8.enums;


public enum ColorEnum {
    RED("红色"),
    GREEN("绿色");

    private final String name;

    ColorEnum(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
